GBCD - a utility for detecting CD-ROM drives on all windows systems
===================================================================

Files
=====
GBCD.DLL	16-bit DLL exporting: INTEGER IsACDROM(LPSTR sz_Driveletter)
GBCD.BAS	Visual Basic module with declaration fo above
GBCDUNIT.TPU	Turbo-Pascal compiled unit containing IsACDROM function
DISK.DCU	Delphi V1.0 component containing CD-ROM functions
DISK.DCR	Bitmap for above

MAINFORM.FRM	VB3 Demo file
MAINFORM.FRX	VB3 Demo file
VBCDROM.MAK	VB3 Demo file
VBCDROM.EXE	VB3 Demo file

How to Use
==========

1) Visual Basic
	See the included demo VBCDROM.MAK.

2) Turbo Pascal
	Put GBCDUNIT in the Uses clause, and call IsACDROM:
	Function IsACDROM (sz_Driveletter:PChar):Integer
	Returns: 0=False, 1=True

3) Delphi
	Copy DISK.DCU and DISK.DCR to your \lib directory.
	Install the DISK component from the tools menu. (Class TDISK)
	Drop the DISK component into a form.

4) Other languages
 	GBCD.DLL can be declared and called from any language that
	supports external DLLs including Winword or Excel/Access.
	Note:	It cannot be called from a 32-bit program.


How it works
============

The code is an assembler routine that queries MSCDEX. Luckily,
Microsoft see fit to virtualise MSCDEX in Windows 95 and NT
so the routine works fine in all operating systems I have tried.

Distribution
============

You are free to use this code as you see fit, but NO WARRANTY implied
or actual is provided by the author.
Support is solely at the discretion of the author and is not guaranteed.
Copyright remains with the author.
Reverse engineering or removal of version information is a breach of
that copyright.

The Author
==========
Gordon Bamber Brighton, England.
gbamber@mistral.co.uk
gbamber@msn.com
74437.672@compuserve.com